<%@include file="tag.jsp" %>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib uri="/WEB-INF/tld/platFormTag.tld" prefix="zhibo"%>
<div class="page-sidebar-wrapper">
			<div class="page-sidebar navbar-collapse collapse">
				<ul class="page-sidebar-menu  page-header-fixed "
					data-keep-expanded="false" data-auto-scroll="true"
					data-slide-speed="200" style="padding-top: 20px">
					<li class="sidebar-toggler-wrapper hide">
						<div class="sidebar-toggler"></div>
					</li>

					<li class="sidebar-search-wrapper">

						<form id="searchFrom" action="${ctp }/s"
							class="sidebar-search  sidebar-search-bordered">
							<a href="javascript:;" class="remove"> <i class="icon-close"></i>
							</a>
							<div class="input-group">
								<input type="text" class="form-control findSearch"
									placeholder="搜主播/搜房间/搜游戏" id="input_kw" name="key" value="${key }"> <span
									class="input-group-btn">
									<button type="submit" class="btn submit">
										<i class="fa fa-search"></i>
									</button>
								</span>
							</div>
						</form>

					</li>
					<li class="nav-item start active open"><a href="${ctp }"
						class="nav-link nav-toggle"> <i class="fa fa-video-camera"></i>
							<span class="title">全网直播汇聚</span>	
					</a></li>
					
					<li class="heading">
						<h3 class="uppercase">热门游戏</h3>
					</li>
					<div class="util-btn-margin-bottom-5 r-cont" >
					
						<zhibo:hotCatolog count="14">
							<a href="${ctp}/p/${name }" class="btn btn-xs green-soft btn-outline">${name }</a>
						</zhibo:hotCatolog>
						
					</div>
			</div>
		</div>
		
<script type="text/javascript">
		$(function(){
			
			if("${roomType}" != ""){
				$(".btn.btn-xs.green-soft.btn-outline").each(function(index){
					if($(this).html() == "${roomType}"){
						$(this).addClass("active");	
					}
				});
			}
			
		});
			
</script>
<!--

//-->
</script>
